package com.ecmcloud.common.constants;

import com.google.common.collect.Lists;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 表单类型枚举
 */
@Getter
@AllArgsConstructor
public enum FormTypeEnum {

    INPUT("Input","单行文本",""),
    TEXTAREA("Textarea","多行文本",""),
    NUMBER("Number","数字",null),
    DATE("Date","日期",null),
    DATE_TIME("DateTime","日期时间",null),
    LAYOUT("Layout","明细",null),
    TIME("Time","时间",null),
    MONEY("Money","金额",null),
    SINGLE_SELECT("SingleSelect","单选",Lists.newArrayList()),
    SELECT_DEPT("SelectDept","部门",Lists.newArrayList()),
    SELECT_USER("SelectUser","用户",Lists.newArrayList()),
    SELECT_MULTI_DEPT("SelectMultiDept","多部门",Lists.newArrayList()),
    SELECT_MULTI_USER("SelectMultiUser","多用户",Lists.newArrayList());

    private String type;

    private String name;
    
    private Object defaultValue;
}
